Control and configuration registers
| FSM_RST | fsm reset |
| JPEG_START | start to compress a new pic(in dma reg mode) |
| QNR_PRESITION | 0:8bit qnr,1:12bit qnr(TBD) |
| FF_CHECK_EN | enable whether to add “00” after “ff” |
| SAMPLE_SEL | 0:yuv444,1:yuv422, 2:yuv420 |
| DMA_LINKLIST_MODE | 1:use linklist to configure dma |
| DEBUG_DIRECT_OUT_EN | 0:normal mode,1:debug mode for direct output from input |
| GRAY_SEL | 0:use non-fifo way to access qnr ram,1:use fifo way to access qnr ram |
| LQNR_TBL_SEL | choose luminance quntization table id(TBD) |
| CQNR_TBL_SEL | choose chrominance quntization table id (TBD) |
| COLOR_SPACE | configure picture’s color space:0-rb888,1-yuv422,2-rgb565, 3-gray |
| DHT_FIFO_EN | 0:use non-fifo way to write dht len_total/codemin/value table,1:use fifo way to write dht len_total/codemin/value table. Reading dht len_total/codemin/value table only has nonfifo way |
| MEM_CLK_FORCE_ON | force memory’s clock enabled |
| JFIF_VER | decode pause period to trigger decode_timeout int, the timeout periods =2 power (reg_decode_timeout_thres) -1 |
| DECODE_TIMEOUT_TASK_SEL | 0: software use reset to abort decode process ,1: decoder abort decode process by itself |
| SOFT_RST | when set to 1, soft reset JPEG module except jpeg_reg module |
| FIFO_RST | fifo reset |
| PIXEL_REV | reverse the source color pixel |
| TAILER_EN | set this bit to add EOI of “0xffd9” at the end of bitstream |
| PAUSE_EN | set this bit to pause jpeg encoding |
| MEM_FORCE_PD | 0: no operation,1:force jpeg memory to power down |
| MEM_FORCE_PU | 0: no operation,1:force jpeg memory to power up |
| MODE | 0:encoder mode, 1: decoder mode |